﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>iview example</title>
    <link rel="stylesheet" type="text/css" href="/admin/styles/iview.css">
    @RenderSection("Styles", required: false)
</head>
<body>
    <div id="app">
        @RenderBody()
    </div>
    <script type="text/javascript" src="/admin/vue.min.js"></script>
    <script type="text/javascript" src="/admin/iview.min.js"></script>
    <script type="text/javascript" src="~/js/axios.min.js"></script>
    <script>
        axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
        function getQueryString(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r !== null) return unescape(r[2]); return null;
        }
    </script>
    @RenderSection("Scripts", required: false)
    <script>
        window.parent.postMessage({},'*');
    </script>
</body>
</html>